# 根据姓名查询同辈人的通讯录信息
import judge_realation
import select_Generation
import initial


def select_generation_name():
    name = input('请输入想查询的姓名\n>>>')
    person = judge_realation.get_person(name)
    count = judge_realation.get_count(person)
    select_Generation.select([initial.get_family()[0]], 0, count)
